package top.z.work.module.system.controller.authorize.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import top.z.work.framework.common.constant.CommonStatus;

/**
 * 登录用户的角色信息
 */
@Schema(description = "系统授权 - 登录用户的角色信息 VO")
@Data
@Accessors(chain = true)
public class AuthorizeUserRoleVO {

    @Schema(description = "角色ID", example = "1234")
    private Long    roleId;
    @Schema(description = "角色名称", example = "系统管理员")
    private String  roleName;
    @Schema(description = "角色编码", example = "system_admin")
    private String  roleCode;
    @Schema(description = "角色排序", example = "1")
    private Integer roleSort;
    @Schema(description = "状态", example = "0", implementation = CommonStatus.class)
    private Integer status;
    @Schema(description = "数据范围", example = "1")
    private Integer dataScope;

}
